home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / util / time / settime.lha / SetTime.doc < prev    next >
Text File  |  1995-09-09  |  3KB  |  114 lines

  1.  
  2.                            SetTime 1.0 documentation
  3.  
  4. DISTRIBUTION
  5.  
  6.  This software is FreeWare !
  7.  
  8. PURPOSE
  9.  
  10.  Set the correct time with a simple CLI script. Why I wrote this anyway ?
  11.  Because I think it is simple but effective and mainly I haven't got a
  12.  clock inside my Amiga. You can save about $25 with a bit work. You have
  13.  to set the correct date only once a day, and the correct time at every
  14.  startup procedure.
  15.  
  16.  And why is it worth ? Why you need a clock or this script ?
  17.  - it is a must if you are a programmer, where your source files have to be
  18.    maintained by a makefile
  19.  - you can use fine the Workbench View by Date option
  20.  - you can use other dir utils' date sort function
  21.  - you have more chance to find the new files after an unneeded installation
  22.  - you have more chance to find fileviruses
  23.  
  24. SYSTEM REQUIREMENTS
  25.  
  26.  Any Amiga, works fine with min. Kickstart 2.0 and Workbench 2.0.
  27.  It needs the C:Date command.
  28.  
  29. INSTALLATION
  30.  
  31.  1: Copy the SetTime script with icon to WBStartup, or execute it separately
  32.     when you need.
  33.  
  34.  2: Insert a line in the startup-sequence like this:
  35.  
  36.     C:Date 9-9-95 10:52
  37.  
  38.     With this method you have to set the date only once a day (modifying the
  39.     startup-sequence). The correct date is set after a completed startup
  40.     procedure.
  41.  
  42. USAGE
  43.  
  44.  Every day you turn on your Amiga, modify the startup-sequence to set the
  45.  correct date.
  46.  
  47.  At every startup procedure set the correct time with this little script.
  48.  You have to write only the time, ie. 10:52.
  49.  
  50.  If the time you set wasn't correct, the second window won't be displayed.
  51.  So you have to try again. Set a hot key to do this.
  52.  
  53.  If you are sure that you won't write anywhere, you haven't got to do these.
  54.  
  55. THE SCRIPT
  56.  
  57.  C:Date ? <CON:100/100/110//SetTime >NIL:
  58.  C:Date >CON:100/100/250//It's.../WAIT/CLOSE
  59.  
  60.  You can modify as you want this script. It's a script with some trick.
  61.  
  62.  ?        - with this it will wait the input
  63.  <CON:... - with this the input will be from that window
  64.  >NIL:    - with this the 'DAY,DATE,TIME,TO=VER/K:' won't be displayed
  65.  
  66.  >CON:... - with this the output window will be that
  67.  /WAIT    - with this the window won't be closed after displaying the time
  68.  /CLOSE   - with this you will have a close gadget
  69.  
  70.  You can close the window with a CTRL \ too.
  71.  
  72.  The second window won't be displayed if you set a wrong time, because the
  73.  first date will return with a return code 20 (RETURN_FAIL) and the script
  74.  will stop.
  75.  
  76. HISTORY
  77.  
  78.  1.0 - First public release.
  79.  
  80. FUTURE
  81.  
  82.  No ideas.
  83.  
  84. TESTED ON
  85.  
  86.  Amiga 1200 with:
  87.  - 4 Mb fast ram, made by DERKO
  88.  - 405 Mb Conner CFS425A winchester, 2.5"->3.5" adapter made by DERKO
  89.  - 2x speed Sony CDU-55E CD-ROM
  90.  
  91. OTHER PRODUCTS
  92.  
  93.  LessSeek 1.1 - Small validatewait like program
  94.                 on Aminet: disk/misc/LessSeek11.lha
  95.  
  96.  ChipPeek 2.0 - A practical mempeek with AGA support
  97.                 on Aminet: gfx/misc/ChipPeek20.lha
  98. THE AUTHOR
  99.  
  100.  Szabolcs Petho
  101.  
  102.  e-mail: petho@fa.gau.hu
  103.          petho@spike.fa.gau.hu
  104.  
  105.  s-mail: Szabolcs Petho
  106.          Gorkij krt. 81.
  107.          3104 Salgotarjan
  108.          HUNGARY
  109.  
  110.  Send your suggestions, bug reports, if you have !
  111.  
  112. Bye,
  113.      Szabolcs
  114.